import React from 'react'

// layout
import TabsWithGoBackLayout from "../../layouts/TabsWithGoBackLayout/TabsWithGoBackLayout"
// style sheet
import './follow.css'

// components
import FollowGames from "./FollowGames/FollowGames"
import FollowSteamers from "./FollowSteamers/FollowSteamers"

const FollowContainer = props => {
    const {history} = props
    const tabs = [
        {title: '主播'},
        {title: '赛事'},
    ]

    return (
        <TabsWithGoBackLayout
            tabs={tabs}
            history={history}
            prefixCls='follow-tab'
        >
            <FollowSteamers />
            <FollowGames />
        </TabsWithGoBackLayout>
    )
}

export default FollowContainer
